home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / preferences / changeaction.xul < prev    next >
Extensible Markup Language  |  2006-10-03  |  4KB  |  78 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/"?>
  5. <?xml-stylesheet href="chrome://mozapps/content/preferences/preferences.css" type="text/css"?>
  6. <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css" type="text/css"?>
  7.  
  8. <!DOCTYPE window SYSTEM "chrome://browser/locale/preferences/changeaction.dtd">
  9.  
  10. <dialog id="ChangeActionDialog" title="&changeAction.title;"
  11.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.         onload="gChangeActionDialog.init();"
  13.         buttons="accept,cancel"
  14.         ondialogaccept="return gChangeActionDialog.onAccept();" 
  15.         ondialoghelp="openHelp('prefs-file-types', 'chrome://browser/locale/help/help.rdf');"
  16.         xmlns:aaa="http://www.w3.org/2005/07/aaa"
  17.         style="width: &window.width;;"
  18.         persist="screenX screenY">
  19.  
  20.   <script type="application/x-javascript" src="chrome://mozapps/content/preferences/actionsshared.js"/>
  21.   <script type="application/x-javascript" src="chrome://browser/content/preferences/changeaction.js"/>
  22.   <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
  23.   
  24.   <stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
  25.  
  26.   <hbox id="changeActionHeader" align="center" class="indent">
  27.     <image id="typeIcon"/>
  28.     <vbox flex="1">
  29.       <label id="typeField" crop="right"/>
  30.       <label id="extensionField" crop="right"/>
  31.     </vbox>
  32.   </hbox>
  33.   <vbox id="changeActionContent" flex="1">
  34.     <label control="handlerGroup">&whenDownloading.label;</label>
  35.     <radiogroup id="handlerGroup" onselect="gChangeActionDialog.doEnabling(this.selectedItem);" 
  36.                 flex="1" aaa:describedby="changeActionHeader">
  37.       <separator class="thin"/>
  38.       <radio id="openDefault" value="system" 
  39.              label="&openDefault.label;" accesskey="&openDefault.accesskey;"
  40.              aaa:labelledby="openDefault defaultApp"/>
  41.       <filefield class="indent" id="defaultApp" disabled="true"/>
  42.       <separator class="thin"/>
  43.       <radio id="openApplication" value="app" 
  44.              label="&openApplication.label;" accesskey="&openApplication.accesskey;"
  45.              aaa:labelledby="openApplication customApp"/>
  46.       <hbox align="center">
  47.         <filefield id="customApp" class="indent" flex="1" disabled="true"/>
  48.         <button id="changeApp" oncommand="gChangeActionDialog.changeApp();" 
  49.                 label="&changeApp.label;" accesskey="&changeApp.accesskey;"
  50.                 disabled="true"/>
  51.       </hbox>
  52.       <separator class="thin"/>
  53.       <radio id="saveToDisk" value="save" 
  54.              label="&saveToDisk.label;" accesskey="&saveToDisk.accesskey;"/>
  55.       <radiogroup id="saveToOptions" class="indent" onselect="gChangeActionDialog.doSaveToDiskEnabling(this.selectedItem);"
  56.                   hidden="true">
  57.         <radio id="saveToDefault" value="default" selected="true"
  58.                label="&saveToDefaultFolder.label;" accesskey="&saveToDefaultFolder.accesskey;"/>
  59.         <radio id="saveToCustom" value="custom"
  60.                label="&saveToThisFolder.label;" accesskey="&saveToThisFolder.accesskey;"
  61.                aaa:labelledby="saveToCustom customDownloadFolder"/>
  62.         <hbox align="center" class="indent">
  63.           <filefield id="customDownloadFolder" flex="1"/>
  64.           <button id="chooseCustomDownloadFolder" oncommand="gChangeActionDialog.changeCustomFolder();"
  65.                   label="&chooseFolder.label;" accesskey="&chooseFolder.accesskey;"/>
  66.         </hbox>
  67.         <radio id="saveToAskMe" value="ask"
  68.                label="&saveToAskMe.label;" accesskey="&saveToAskMe.accesskey;"/>
  69.       </radiogroup>
  70.       <radio id="plugin" value="plugin" 
  71.              label="&usePlugin.label;" accesskey="&usePlugin.accesskey;"
  72.              aaa:labelledby="plugin pluginName"/>
  73.       <filefield class="indent" id="pluginName" disabled="true"/>
  74.     </radiogroup>
  75.   </vbox>
  76. </dialog>
  77.  
  78.